PHP Arrays: Single, Multi-dimensional, Associative and Object Arrays in PHP 7

PHP Arrays: Single, Multi-dimensional, Associative and Object Arrays in PHP 7

作者: Steve Prettyman
出版社: Apress
出版在: 2016-12-20
ISBN-13: 9781484225554
ISBN-10: 1484225554
裝訂格式: Paperback
總頁數: 180 頁





內容描述


Gain an in-depth understanding of PHP 7 arrays. After a quick overview of PHP 7, each chapter concentrates on single, multi-dimensional, associative, and object arrays. PHP Arrays is a first of its kind book using PHP 7 that demonstrates inserting, appending, updating, and deleting array data. This book also covers validation methods to insure that the data provided by a user is good before the data is entered into an array. You’ll see how PHP 7 try/catch modules are used to capture exceptions and errors that may be caused by invalid data.The code examples demonstrate common real-world scenarios. Moreover, examples of every PHP 7 array function (over 75) are demonstrated. The appendix provides a two-dimensional array case study on the logical design of a checkers game. PHP Arrays answers the following questions:Why do we need arrays? When do we need to use arrays? Are arrays efficient? Can arrays reduce coding time? When do you use multi-dimensional and associative arrays? What is an object array? What You'll LearnHandle array data from an HTML form Manage array data from a text file Deal with array data from a MySQL databaseWho This Book Is ForExperienced PHP programmers or web developers using PHP.




相關書籍

Web前端設計從入門到實戰——HTML5、CSS3、JavaScript項目案例開發(第

作者 張樹明

2016-12-20

JavaScript + Vue + React 全程實例

作者 鄭均輝 薛燚

2016-12-20

架構探險 : 輕量級微服務架構 (上冊)

作者 黃勇

2016-12-20